package com.jiaomatech.demo.user.controller;

import com.jiaomatech.demo.user.aspect.log.TimeLog;
import io.swagger.annotations.Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description: 首页测试 .<br>
 *
 * @author m-xy
 *     Created By 2019/8/5 下午4:24
 */
@RestController
@Api(tags = "首页测试")
public class InfoController {
    private final Logger logger = LoggerFactory.getLogger(InfoController.class);

    /**
     * info
     */
    @GetMapping(value = "/info")
    @TimeLog("首页测试")
    public String welcome() {
        return "基础用户服务";
    }
}
